package WeekTest01;

public class TestPhone {

	public static void main(String[] args) {
		
		Phone a = new Phone();
		a.setBrand("小米");
		a.setPrice(998);
		
		Phone b = new Phone("小米",998);
		
		a.call(a.getBrand(), a.getPrice());
		a.sendMessage(a.getBrand(), a.getPrice());
		a.playGame(a.getBrand(), a.getPrice());
		
		b.call(b.getBrand(), b.getPrice());
		b.sendMessage(b.getBrand(), b.getPrice());
		b.playGame(b.getBrand(), b.getPrice());
	}
}
